{
    "connectors": {
        "sentseg": {
            "protocol": "http",
            "timeout": 1.5,
            "url": "http://sentseg:8011/sentseg"
        }
    },
    "services": {
        "last_chance_service": {
            "connector": {
                "protocol": "python",
                "class_name": "PredefinedTextConnector",
                "response_text": "Sorry, something went wrong inside. Please tell me, what did you say.",
                "annotations": {
                    "sentseg": {
                        "punct_sent": "Sorry, something went wrong inside. Please tell me, what did you say.",
                        "segments": [
                            "Sorry, something went wrong inside.",
                            "Please tell me, what did you say."
                        ]
                    }
                }
            },
            "state_manager_method": "add_bot_utterance_last_chance",
            "tags": [
                "last_chance"
            ],
            "is_enabled": true,
            "source": {
                "component": "components/uBwLe0Jusl7Q.yml",
                "service": "services/agent_services/service_configs/dream_persona_prompted"
            }
        },
        "timeout_service": {
            "connector": {
                "protocol": "python",
                "class_name": "PredefinedTextConnector",
                "response_text": "Sorry, I need to think more on that. Let's talk about something else.",
                "annotations": {
                    "sentseg": {
                        "punct_sent": "Sorry, I need to think more on that. Let's talk about something else.",
                        "segments": [
                            "Sorry, I need to think more on that.",
                            "Let's talk about something else."
                        ]
                    }
                }
            },
            "state_manager_method": "add_bot_utterance_last_chance",
            "tags": [
                "timeout"
            ],
            "is_enabled": true,
            "source": {
                "component": "components/Vi0jGZfqNIU8.yml",
                "service": "services/agent_services/service_configs/dream_persona_prompted"
            }
        },
        "annotators": {
            "sentseg": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.5,
                    "url": "http://sentseg:8011/sentseg"
                },
                "dialog_formatter": "state_formatters.dp_formatters:preproc_last_human_utt_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/gM4fEjvVqLlSRRRkQfds2g.yml",
                    "service": "annotators/SentSeg/service_configs/sentseg"
                }
            },
            "prompt_goals_collector": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://prompt-selector:8135/collect_goals"
                },
                "dialog_formatter": "state_formatters.dp_formatters:prompts_goals_collector_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [],
                "state_manager_method": "update_attributes",
                "is_enabled": true,
                "source": {
                    "component": "components/Wps5FHxkwj3Z.yml",
                    "service": "annotators/prompt_selector/service_configs/dream_persona_prompted"
                }
            },
            "prompt_selector": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://prompt-selector:8135/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:context_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators.prompt_goals_collector"
                ],
                "state_manager_method": "add_annotation",
                "is_enabled": true,
                "source": {
                    "component": "components/Wps5FHxkwj3Z.yml",
                    "service": "annotators/prompt_selector/service_configs/dream_persona_prompted"
                }
            }
        },
        "response_annotators": {
            "sentseg": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.5,
                    "url": "http://sentseg:8011/sentseg"
                },
                "dialog_formatter": "state_formatters.dp_formatters:last_bot_utt_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "response_annotator_selectors"
                ],
                "state_manager_method": "add_annotation_prev_bot_utt",
                "is_enabled": true,
                "source": {
                    "component": "components/1Q9QXih1U2zhCpVm9zxdsA.yml",
                    "service": "annotators/SentSeg/service_configs/sentseg"
                }
            }
        },
        "response_annotator_selectors": {
            "connector": {
                "protocol": "python",
                "class_name": "skill_selectors.post_annotator_selector.connector:PostAnnotatorSelectorConnector",
                "annotator_names": [
                    "sentseg"
                ]
            },
            "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
            "tags": [
                "selector"
            ],
            "is_enabled": true,
            "source": {
                "component": "components/LXrJDIf43gwNmPMNXG5Eg.yml",
                "service": "services/response_annotator_selectors/service_configs/agent"
            }
        },
        "candidate_annotators": {
            "combined_classification": {
                "connector": {
                    "protocol": "http",
                    "timeout": 2.0,
                    "url": "http://combined-classification:8087/batch_model"
                },
                "dialog_formatter": "state_formatters.dp_formatters:hypothesis_histories_list",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "skills"
                ],
                "state_manager_method": "add_hypothesis_annotation_batch",
                "is_enabled": true,
                "source": {
                    "component": "components/PbLNvh4hrvs47rPaf2bfYQ.yml",
                    "service": "annotators/combined_classification/service_configs/combined-classification"
                }
            },
            "sentence_ranker": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://sentence-ranker:8128/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:sentence_ranker_formatter",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "skills"
                ],
                "state_manager_method": "add_hypothesis_annotation_batch",
                "is_enabled": true,
                "source": {
                    "component": "components/XGwmAHtAOu0NDqqG3QCJw.yml",
                    "service": "services/sentence_ranker/service_configs/sentence-ranker"
                }
            }
        },
        "skill_selectors": {
            "description_based_skill_selector": {
                "connector": {
                    "protocol": "python",
                    "class_name": "skill_selectors.description_based_skill_selector.connector:DescriptionBasedSkillSelectorConnector"
                },
                "dialog_formatter": "state_formatters.dp_formatters:base_skill_selector_formatter_dialog",
                "response_formatter": "state_formatters.dp_formatters:simple_formatter_service",
                "previous_services": [
                    "annotators"
                ],
                "tags": [
                    "selector"
                ],
                "is_enabled": true,
                "source": {
                    "component": "components/dfsw4bji8bgjq2.yml",
                    "service": "skill_selectors/description_based_skill_selector/service_configs/agent"
                }
            }
        },
        "skills": {
            "dff_dream_persona_prompted_skill": {
                "connector": {
                    "protocol": "http",
                    "timeout": 120.0,
                    "url": "http://dff-dream-persona-gpt-j-prompted-skill:8134/respond"
                },
                "dialog_formatter": {
                    "name": "state_formatters.dp_formatters:dff_prompted_skill_formatter",
                    "skill_name": "dff_dream_persona_prompted_skill"
                },
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/6lLhP7zuoiI0bxJEDLWUg.yml",
                    "service": "skills/dff_template_prompted_skill/service_configs/dff-dream-persona-gpt-jt-prompted-skill"
                }
            },
            "dummy_skill": {
                "connector": {
                    "protocol": "python",
                    "class_name": "skills.dummy_skill.connector:DummySkillConnector"
                },
                "dialog_formatter": "state_formatters.dp_formatters:utt_sentrewrite_modified_last_dialog",
                "response_formatter": "state_formatters.dp_formatters:skill_with_attributes_formatter_service",
                "previous_services": [
                    "skill_selectors"
                ],
                "state_manager_method": "add_hypothesis",
                "is_enabled": true,
                "source": {
                    "component": "components/uYkoK0vRp4bbIg9akI1yw.yml",
                    "service": "skills/dummy_skill/service_configs/agent"
                }
            }
        },
        "response_selectors": {
            "response_selector": {
                "connector": {
                    "protocol": "http",
                    "timeout": 1.0,
                    "url": "http://ranking-based-response-selector:8002/respond"
                },
                "dialog_formatter": "state_formatters.dp_formatters:cropped_dialog",
                "response_formatter": "state_formatters.dp_formatters:base_response_selector_formatter_service",
                "previous_services": [
                    "candidate_annotators"
                ],
                "tags": [
                    "selector"
                ],
                "state_manager_method": "add_bot_utterance",
                "is_enabled": true,
                "source": {
                    "component": "components/YJzc7NwGrLmKp6gfZJh7X1.yml",
                    "service": "response_selectors/ranking_based_response_selector/service_configs/ranking-based-response-selector"
                }
            }
        }
    },
    "metadata": {
        "display_name": "Persona-based Prompted Dream",
        "author": "DeepPavlov",
        "description": "This is a simple dialog system that can chat with you on any topic. It has a pre-defined 'personality' and uses `GPT-JT 6B` model to generate responses.",
        "version": "0.0.1",
        "date_created": "2023-01-10T02:00:00",
        "ram_usage": "50 GB",
        "gpu_usage": "30 GB",
        "disk_usage": "50 GB"
    }
}